package com.csii.activiti.server.abstraction.entity;

import lombok.Data;

@Data
public class ActCallbackMessage extends ActSendMessage{
    private String callbackSign;

    public ActCallbackMessage(){

    }

    public ActCallbackMessage(ActSendMessage actSendMessage){
        this.setApproveOpinion(actSendMessage.getApproveOpinion());
        this.setCallbackList(actSendMessage.getCallbackList());
        this.setCurrentApprove(actSendMessage.getCurrentApprove());
        this.setCurrentDate(actSendMessage.getCurrentDate());
        this.setCurrentNodeId(actSendMessage.getCurrentNodeId());
        this.setCurrentNodeName(actSendMessage.getCurrentNodeName());
        this.setFormData(actSendMessage.getFormData());
        this.setInitiator(actSendMessage.getInitiator());
        this.setProcessDefinitionId(actSendMessage.getProcessDefinitionId());
        this.setProcessInstanceId(actSendMessage.getProcessInstanceId());
        this.setProcessKey(actSendMessage.getProcessKey());
        this.setProcessName(actSendMessage.getProcessName());
        this.setReceivedByList(actSendMessage.getReceivedByList());
        this.setIconType(actSendMessage.getIconType());
        this.setSummary(actSendMessage.getSummary());
        this.setParamVariables(actSendMessage.getParamVariables());
        this.setTenantId(actSendMessage.getTenantId());

    }
}
